package simple;

import static java.lang.System.out;		//静态导入

public class Test1 {
	public static void main(String[] args) {
		byte by = 1;
		short sh = 1;
		char ch = 'a';
		int i = 100;
		long l = 100L;
		float f = 123.45F;
		double d = 1234.567;
		boolean flag = false;
		
		print(by, sh, ch, i, l, f, d, flag);
	}
	
	public static void print(Object ...args) {		//可变参数
		for (int i = 0; i < args.length; i++) {
			out.println(args[i]);
		}
	}
	
}
